package com.yeyks.consumer.service.impl;

import com.yeyks.consumer.dal.domain.ShareLog;
import com.yeyks.consumer.dal.dao.ShareLogMapper;
import com.yeyks.consumer.service.ShareLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Date;


/**
 * <p>
 * 分享记录表 服务实现类
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Service
public class ShareLogServiceImpl extends ServiceImpl<ShareLogMapper, ShareLog> implements ShareLogService {

    @Override
    public Integer insert(ShareLog shareLog) {
        shareLog.setGmtCreate(new Date());
        return baseMapper.insert(shareLog);
    }


}
